import { PageContainer } from "@ant-design/pro-layout"
import { renderAdminPage, useServerData } from "@sker/ui"
import { Button } from "antd"

export const TaskPage: React.FC<{}> = ({ }) => {
    const [props] = useServerData()
    return <PageContainer title={props.title || '任务管理'} extra={<>
        <Button type={'primary'}>添加任务</Button>
    </>}>
    </PageContainer>
}

renderAdminPage(TaskPage, 'imeepos/core/web/task')
